<?php
// Form视图模型
class Deliver_collectViewModel extends ViewModel {
    protected $viewFields = array(
        'Deliver'=>array('did','user_id','for_id','deliver_id','kind','description','state'),
        //'Collect'=>array('cid','title','content','end_time','create_time','state ','_on'=>'Collect.cid=Deliver.deliver_id')
         'Article'=>array('aid','uid','group_id','uname','name','create_time','content','link','group_name','use_count','useless_count','type','parent_id','state'=>'astate','_on'=>'Article.aid=Deliver.deliver_id')
    );
}
?>